FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

XEN_PATCHES = " file://xen.cfg" 
JAJLHOUSE_PATCHES = " file://0001-modify-the-dts-of-e2000-linux-4.19-kernel-to-reserve.patch"
VPU_PATCHES = " file://0002-Add-vpu-in-pe220x-dtsi.patch \
			file://0004-Add-vpu-in-other-e2000q-board.patch "
SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${XEN_PATCHES}', '', d)}"
SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'jailhouse', '${JAJLHOUSE_PATCHES}', '', d)}"
SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'vpu', '${VPU_PATCHES}', '', d)}"

DELTA_KERNEL_DEFCONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen.cfg', '', d)}"
